/*
 * AbstractEntity.h
 *
 *  Created on: 17 févr. 2011
 *      Author: seeme
 *      Une entité quelconque
 */

#ifndef ABSTRACTENTITY_H_
#define ABSTRACTENTITY_H_

#include <ostream>
#include "../../LogManager/Log.hpp"
#include <GL/glew.h>


class AbstractEntity {

public:
	AbstractEntity();
	virtual ~AbstractEntity();


	friend std::ostream& operator<<(std::ostream& out, const AbstractEntity& ent){
		ent.print(out);
		return out;
	}

	virtual void print(std::ostream& o) const {
		o << "plop abstract entity";
	}
};

#endif /* ABSTRACTENTITY_H_ */
